package com.cug.nageoffer.enterprise.user;

import com.cug.nageoffer.common.anno.EnableUserWebMvcConfiguration;
import com.cug.nageoffer.enterprise.user.properties.MinioProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.ComponentScan;

@RefreshScope
@SpringBootApplication
@ComponentScan(basePackages = {"com.cug.nageoffer"})
@EnableConfigurationProperties(value = {MinioProperties.class})
@EnableUserWebMvcConfiguration
public class EnterpriseUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(EnterpriseUserApplication.class, args);
    }
}
